package com.wy.powerbuilder.service.impl.Costs;

import com.wy.powerbuilder.entity.Costs.temporary;
import com.wy.powerbuilder.entity.hxl.carseat;
import com.wy.powerbuilder.mapper.Costs.TemMapper;
import com.wy.powerbuilder.service.Costs.TemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TemServiceImpl implements TemService {
    @Autowired
    private TemMapper temMapper;
    @Override
    public List<temporary> selTemporary() {
        return temMapper.selTemporary();
    }

    @Override
    public List<carseat> selcarAll() {
        return temMapper.selcarAll();
    }

    @Override
    public List<temporary> seltemAll() {
        return temMapper.seltemAll();
    }

    @Override
    public carseat getidTem(Integer id) {
        return temMapper.getidTem(id);
    }

    @Override
    public int addtemp(temporary temporary) {
        return temMapper.addtemp(temporary);
    }
}
